package dao;

import pojo.Book;

import java.util.List;
import java.util.Map;

/**
 * Created by Tiler on 2020/11/4
 */
public interface BookDao {
    public List<Book> selectAllBooks(Map<String, Object> params);
    public Integer selectBookCount(Map<String, Object> params);
    public Integer insertOneBook(Book book);
    public Book selectBookById(Integer bookId);
    public Integer updateOneBook(Book book);
    public Integer deleteAllBooks(List<Integer > bookIds);
}
